/**
 * http://usejsdoc.org/
 * @class Teacher
 */
var util = require("util"),
	Person = require("./person");
/**
 * @desc 定义Teacher类
 */
function Teacher(){
	Person.call(this);
}
/**将Teacher 继承Person*/
util.inherits(Teacher, Person);

/**重写teach 方法*/
Teacher.prototype.teach = function(){//为Teacher类添加teach 方法
	console.log("I'm teaching!");
};

/**暴露Teacher类*/
module.exports = Teacher;